import mongoengine
mongoengine.connect('lda')


class SinaBlog(mongoengine.Document):
    text = mongoengine.StringField()
    title = mongoengine.StringField()
    tags = mongoengine.ListField(mongoengine.StringField())
    url = mongoengine.StringField(unique=True)
    machine_tags = mongoengine.ListField(mongoengine.StringField())
